<%form_remote_tag :url => customer_notes_url(@customer), :before => fckeditor_before_js('note', 'content') + "spinnerOn('notes');", :complete => "spinnerOff('notes');", :method => :post do %>
<div class="container">
    <%=render :partial => 'notes/form', :locals => {:customer => @customer} %>
    <div style="clear:both">
    </div>
</div>
<div class="buttons">
    <%=button_cancel 'notes', customer_notes_url(@customer) %><%=button_ok %>
</div>
<div style="clear:both">
</div>
<%end %>